// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Axios from 'axios'

// 引入mint-ui全部组件
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css'

Vue.config.productionTip = false

//配置公共的url
// Axios.defaults.baseURL = 'https://img.yzcdn.cn/public_files/2017/10/24/'
//配置axios
Vue.prototype.$axios = Axios;

Vue.use(Mint);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
